package org.eclipse.bpel.model.util;

import java.util.List;

import org.apache.log4j.Logger;
import org.eclipse.bpel.model.Activity;
import org.eclipse.bpel.model.Assign;
//import org.eclipse.bpel.model.ExtensibleElement;

public class AssignAction implements SwitchAction {
	
	private List<Assign> assigns = null;
	
	private static transient Logger log = Logger.getLogger(AssignAction.class);
	
	public void doPreAction(org.eclipse.wst.wsdl.ExtensibleElement element) {
		if (element instanceof Assign) {
		//		log.trace("Assign found " + o);
			this.assigns.add((Assign) element);
		}
	}

	public void setAssignList(List<Assign> assigns) {
		this.assigns = assigns;
	}

	@Override
	public void doPostAction(org.eclipse.wst.wsdl.ExtensibleElement element) {
		
	}
}
